namespace Jumpton.SFA.Server.Entity {
    using System;
    using System.Collections.Generic;
    using System.Text;
    using Jumpton.Persistent;
    using System.Data;
    using System.Runtime.Serialization;
    
    
    [System.SerializableAttribute()]
    [Map("VISITS_SUMMARY")]
    public class VISITS_SUMMARY : ObjectRow {
        
        public VISITS_SUMMARY() {
        }
        
        /// <summary>
        /// 构造函数
        /// </summary>
        /// <param name="dataRow">DataTable 中的一行数据</param>
        /// <param name="objectTable">存储当前对象的数据表格</param>
        public VISITS_SUMMARY(System.Data.DataRow dataRow, ObjectTable parent) : 
                base(dataRow, parent) {
        }
        
        /// <summary>
        /// 供反序列化使用的构造函数
        /// </summary>
        /// <param name="info"></param>
        /// <param name="context"></param>
        protected VISITS_SUMMARY(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : 
                base(info, context) {
        }
        
        [Key("ID")]
        public String ID {
            get {
                return (System.String)GetValue("ID");
            }
            set {
                SetValue("ID", value);
            }
        }
        [Field("VISIT_ID")]
        public string VISIT_ID
        {
            get
            {
                return (System.String)GetValue("VISIT_ID");
            }
            set
            {
                SetValue("VISIT_ID", value);
            }
        }
        [Field("TASTE_PEOPLE_NO")]
        public decimal TASTE_PEOPLE_NO {
            get {
                return (System.Decimal)GetValue("TASTE_PEOPLE_NO");
            }
            set {
                SetValue("TASTE_PEOPLE_NO", value);
            }
        }
        
        [Field("BUY_NO")]
        public decimal BUY_NO {
            get {
                return (System.Decimal)GetValue("BUY_NO");
            }
            set {
                SetValue("BUY_NO", value);
            }
        }
        
        [Field("TASTE")]
        public string TASTE {
            get {
                return (System.String)GetValue("TASTE");
            }
            set {
                SetValue("TASTE", value);
            }
        }
        
        [Field("TASTE_NOODLE_TYPE")]
        public string TASTE_NOODLE_TYPE {
            get {
                return (System.String)GetValue("TASTE_NOODLE_TYPE");
            }
            set {
                SetValue("TASTE_NOODLE_TYPE", value);
            }
        }
        
        [Field("TASTE_NOODLE_NO")]
        public decimal TASTE_NOODLE_NO {
            get {
                return (System.Decimal)GetValue("TASTE_NOODLE_NO");
            }
            set {
                SetValue("TASTE_NOODLE_NO", value);
            }
        }
        
        [Field("GIFT_NAME")]
        public string GIFT_NAME {
            get {
                return (System.String)GetValue("GIFT_NAME");
            }
            set {
                SetValue("GIFT_NAME", value);
            }
        }
        
        [Field("GIFT_NO")]
        public decimal GIFT_NO {
            get {
                return (System.Decimal)GetValue("GIFT_NO");
            }
            set {
                SetValue("GIFT_NO", value);
            }
        }
        
        [Field("BAG_SALES_NO")]
        public decimal BAG_SALES_NO {
            get {
                return (System.Decimal)GetValue("BAG_SALES_NO");
            }
            set {
                SetValue("BAG_SALES_NO", value);
            }
        }
        
        [Field("CONTAINER_SALES_NO")]
        public decimal CONTAINER_SALES_NO {
            get {
                return (System.Decimal)GetValue("CONTAINER_SALES_NO");
            }
            set {
                SetValue("CONTAINER_SALES_NO", value);
            }
        }
        
        [Field("IDENTITY1")]
        public string IDENTITY1 {
            get {
                return (System.String)GetValue("IDENTITY1");
            }
            set {
                SetValue("IDENTITY1", value);
            }
        }
        
        [Field("IDENTITY2")]
        public string IDENTITY2 {
            get {
                return (System.String)GetValue("IDENTITY2");
            }
            set {
                SetValue("IDENTITY2", value);
            }
        }
        
        [Field("IDENTITY3")]
        public string IDENTITY3 {
            get {
                return (System.String)GetValue("IDENTITY3");
            }
            set {
                SetValue("IDENTITY3", value);
            }
        }
        
        [Field("IDENTITY4")]
        public string IDENTITY4 {
            get {
                return (System.String)GetValue("IDENTITY4");
            }
            set {
                SetValue("IDENTITY4", value);
            }
        }
        
        [Field("IDENTITY5")]
        public string IDENTITY5 {
            get {
                return (System.String)GetValue("IDENTITY5");
            }
            set {
                SetValue("IDENTITY5", value);
            }
        }
        
        [Field("IDENTITY6")]
        public string IDENTITY6 {
            get {
                return (System.String)GetValue("IDENTITY6");
            }
            set {
                SetValue("IDENTITY6", value);
            }
        }
    }
}
